package com.mdh.runerrands.pojo;

import java.util.List;

public class OrderDetail {
    private int id;
    private  long orderTime;
    private int total;
    private String status;
    private String remark;
    private int customerId;
    private int waiterId;
    private int addressId;
    private Integer addressId2;
    private BaseUser customer;
    private BaseUser waiter;
    private Address address;
    private Address address2;
    private String note;
    private List<OrderLineDetail> orderLines;

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(long orderTime) {
        this.orderTime = orderTime;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getCustomerId() {
        return customerId;
    }

    public void setCustomerId(int customerId) {
        this.customerId = customerId;
    }

    public int getWaiterId() {
        return waiterId;
    }

    public void setWaiterId(int waiterId) {
        this.waiterId = waiterId;
    }

    public int getAddressId() {
        return addressId;
    }

    public void setAddressId(int addressId) {
        this.addressId = addressId;
    }

    public BaseUser getCustomer() {
        return customer;
    }

    public void setCustomer(BaseUser customer) {
        this.customer = customer;
    }

    public BaseUser getWaiter() {
        return waiter;
    }

    public void setWaiter(BaseUser waiter) {
        this.waiter = waiter;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public List<OrderLineDetail> getOrderLines() {
        return orderLines;
    }

    public void setOrderLines(List<OrderLineDetail> orderLines) {
        this.orderLines = orderLines;
    }

    public Address getAddress2() {
        return address2;
    }

    public void setAddress2(Address address2) {
        this.address2 = address2;
    }

    public Integer getAddressId2() {
        return addressId2;
    }

    public void setAddressId2(Integer addressId2) {
        this.addressId2 = addressId2;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "id=" + id +
                ", orderTime=" + orderTime +
                ", total=" + total +
                ", status='" + status + '\'' +
                ", remark='" + remark + '\'' +
                ", customerId=" + customerId +
                ", waiterId=" + waiterId +
                ", addressId=" + addressId +
                ", addressId2=" + addressId2 +
                ", customer=" + customer +
                ", waiter=" + waiter +
                ", address=" + address +
                ", address2=" + address2 +
                ", orderLines=" + orderLines +
                '}';
    }
}
